<extend name="Base/common"/>
<block name="Content">
    <div class="am-cf am-padding-top">
        <div class="am-fl am-cf">
            <i class="am-icon-cog"></i>
            <strong class="am-text-primary am-text-lg">配置设置</strong>
        </div>
        <hr data-am-widget="divider" class="am-divider am-divider-default" />
    </div>
    <from action="">
        <div class="am-tabs am-margin" data-am-tabs-noswipe="1" data-am-tabs>
            <ul class="am-tabs-nav am-nav am-nav-tabs">
                <li class="am-active">
                    <a href="#tab1">性能安全设置</a>
                </li>
                <li>
                    <a href="#tab2">附件上传设置</a>
                </li>
                <li>
                    <a href="#tab0">增加配置</a>
                </li>
            </ul>
            <div class="am-tabs-bd">
                <div class="am-tab-panel am-fade am-in am-active" id="tab1">
                    <div class="am-g am-margin-top">
                        <div class="am-u-sm-4 am-u-md-2 am-text-right">
                            配置中文名<input type="hidden" value="配置标识"/>
                        </div>
                        <div class="am-u-sm-5 am-u-md-4">
                            <div class="am-form-group am-form-icon">
                                <input type="text" class="am-form-field am-input-sm" value="配置值" required/>
                            </div>
                        </div>
                        <div class="am-u-sm-3 am-u-md-6">
                            <span class="am-text-secondary">(用户C函数调用，只能使用英文且不能重复)</span>
                        </div>
                    </div>
                    <div class="am-g am-margin-top">
                        <div class="am-u-sm-4 am-u-md-2 am-text-right">
                            配置中文名<input type="hidden" value="配置标识"/>
                        </div>
                        <div class="am-u-sm-5 am-u-md-4">
                            <div class="am-form-group am-form-icon">
                                <textarea rows="2" class="am-form-field am-input-sm">
                                </textarea>
                            </div>
                        </div>
                        <div class="am-u-sm-3 am-u-md-6">
                            <span class="am-text-secondary">(用户C函数调用，只能使用英文且不能重复)</span>
                        </div>
                    </div>
                    <div class="am-g am-margin-top">
                        <div class="am-u-sm-4 am-u-md-2 am-text-right">
                            配置中文名<input type="hidden" value="配置标识"/>
                        </div>
                        <div class="am-u-sm-5 am-u-md-4">
                            <div class="am-form-group am-form-icon">
                                <label class="am-radio-inline">
                                    <input type="radio" name="radio_cache" value="0" data-am-ucheck checked=/>是
                                </label>
                                <label class="am-radio-inline">
                                    <input type="radio" name="radio_cache" value="1" data-am-ucheck>否
                                </label>
                            </div>
                        </div>
                        <div class="am-u-sm-3 am-u-md-6">
                            <span class="am-text-secondary">(用户C函数调用，只能使用英文且不能重复)</span>
                        </div>
                    </div>
                </div>
                <div class="am-tab-panel am-fade" id="tab2">
                    <div class="am-g am-margin-top">
                        <div class="am-u-sm-4 am-u-md-2 am-text-right">
                            配置中文名<input type="hidden" value="配置标识"/>
                        </div>
                        <div class="am-u-sm-5 am-u-md-4">
                            <div class="am-form-group am-form-icon">
                                <input type="text" class="am-form-field am-input-sm" value="配置值" required/>
                            </div>
                        </div>
                        <div class="am-u-sm-3 am-u-md-6">
                            <span class="am-text-secondary">(用户C函数调用，只能使用英文且不能重复)</span>
                        </div>
                    </div>
                    <div class="am-g am-margin-top">
                        <div class="am-u-sm-4 am-u-md-2 am-text-right">
                            配置中文名<input type="hidden" value="配置标识"/>
                        </div>
                        <div class="am-u-sm-5 am-u-md-4">
                            <div class="am-form-group am-form-icon">
                                <input type="text" class="am-form-field am-input-sm" value="配置值" required/>
                            </div>
                        </div>
                        <div class="am-u-sm-3 am-u-md-6">
                            <span class="am-text-secondary">(用户C函数调用，只能使用英文且不能重复)</span>
                        </div>
                    </div>
                </div>
                <div class="am-tab-panel am-fade" id="tab0">
                    <form class="am-form">
                        <div class="am-g am-margin-top-sm">
                            <div class="am-u-sm-4 am-u-md-2 am-text-right">
                                配置标识
                            </div>
                            <div class="am-u-sm-8 am-u-md-4 am-u-end">
                                <input type="text" class="am-input-sm" required/>
                            </div>
                        </div>
                        <div class="am-g am-margin-top-sm">
                            <div class="am-u-sm-4 am-u-md-2 am-text-right">
                                配值名称
                            </div>
                            <div class="am-u-sm-8 am-u-md-4 am-u-end">
                                <input type="text" class="am-input-sm" required/>
                            </div>
                        </div>
                        <div class="am-g am-margin-top">
                            <div class="am-u-sm-4 am-u-md-2 am-text-right">
                                所属标签
                            </div>
                            <div class="am-u-sm-8 am-u-md-4">
                                <select data-am-selected="{ btnSize: 'sm', btnStyle: 'secondary'}" name="post_role" id="post_role">
                                    <option value="1">字符串</option>
                                </select>
                            </div>
                            <div class="am-hide-sm-only am-u-md-6">
                            </div>
                        </div>
                        <div class="am-g am-margin-top">
                            <div class="am-u-sm-4 am-u-md-2 am-text-right">
                                数据类型
                            </div>
                            <div class="am-u-sm-8 am-u-md-4">
                                <select data-am-selected="{ btnSize: 'sm', btnStyle: 'secondary'}" name="post_role" id="post_role">
                                    <option value="1">字符串</option>
                                    <option value="2">数字</option>
                                    <option value="3">数组</option>
                                </select>
                            </div>
                            <div class="am-hide-sm-only am-u-md-6">
                            </div>
                        </div>
                        <div class="am-g am-margin-top-sm">
                            <div class="am-u-sm-4 am-u-md-2 am-text-right">
                                配置值:
                            </div>
                            <div class="am-u-sm-8 am-u-md-4 am-u-end">
                                <input type="text" class="am-input-sm" required/>
                            </div>
                        </div>
                        <div class="am-g am-margin-top">
                            <div class="am-u-sm-4 am-u-md-2 am-text-right">
                                配置项是否缓存
                            </div>
                            <div class="am-u-sm-8 am-u-md-4">
                                <label class="am-radio-inline">
                                    <input type="radio" name="radio_cache" value="0" data-am-ucheck checked=/>是
                                </label>
                                <label class="am-radio-inline">
                                    <input type="radio" name="radio_cache" value="1" data-am-ucheck>否
                                </label>
                            </div>
                            <div class="am-hide-sm-only am-u-md-6">
                            </div>
                        </div>
                        <div class="am-g am-margin-top-sm">
                            <div class="am-u-sm-4 am-u-md-2 am-text-right">
                                配置说明:
                            </div>
                            <div class="am-u-sm-8 am-u-md-4 am-u-end">
                                <textarea rows="2">
                                </textarea>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
        <div class="am-margin">
            <button type="submit" class="am-btn am-btn-success am-btn-xs">
                提交保存
            </button>
            <button type="button" class="am-btn am-btn-secondary am-btn-xs " onclick="javascript:history.back(-1);return false;">
                返回列表
            </button>
        </div>
    </from>
</block>
